﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace bridge.Views
{

    public class BannerObject
    {

        private Song song;
        private Artist artist;
        private Links links;
        private Ratings rating;
        private Album album;


        public Song Song
        {
            get { return song; }
            set { song = value; }
        }
        public Artist Artist {
            get { return artist; }
            set { artist = value; }
        }
        public Links Links {
            get { return links; }
            set { links=value; }
        }
        public Ratings Rating
        {
            get { return rating; }
            set { rating = value; }
        }
        public Album Album
        {
            get { return album; }
            set { album = value; }
        }

        public BannerObject() {
            album = new Album();
            song = new Song();
            artist = new Artist();
            rating = new Ratings();
            links = new Links();
        }
        public void insertBannerObject(string check)
        {
            Album.Title = "Album_Title";
            Artist.FirstName = "FirstName";
            Song.PublishedDate = "2010/10/10";
            Links.FacebookLink = "https://www.youtube.com/watch?v=jJAGjgHOB8o";
            Links.TweeterLink = "https://www.youtube.com/watch?v=jJAGjgHOB8o";
            Links.YoutubeLink = "SongsNepal";
           
           // ImageLink = imageLink;;
            Rating.FiveStars = 55;
            Rating.FourStars = 64;
            Rating.ThreeStars = 33;
            Rating.TwoStars = 42;
            Rating.OneStars = 10;
           
            Song.SongID = check;
            Artist.ArtistID = check;
            Album.AlbumID = check;
        }

    }
  /* public class BannerObject
    {
        private string information;
        public string Information
        {
            get { return information; }
            set { information = value; }
        }
        //methods for facebook
        private string facebookLink;
        public string FacebookLink
        {
            get { return facebookLink; }
            set { facebookLink = value; }
        }

        //method for twitter
        private string tweetLink;
        public string TweetLink
        {
            get { return tweetLink; }
            set { tweetLink = value; }
        }

        //method for youtube
        private string youtubeLink;
        public string YoutubeLink
        {
            get { return youtubeLink; }
            set {youtubeLink = value; }
        }

        private string youtubeChannel;
        public string YoutubeChannel
        {
            get { return youtubeChannel; }
            set { youtubeChannel = value; }
        }

        private string imageLink;
        public string ImageLink
        {
            get { return imageLink; }
            set { imageLink = value; }
        }

        private int fiveStar;
        public int FiveStar
        {
            get { return fiveStar; }
            set { fiveStar = value; }
        }

        private int fourStar;
        public int FourStar
        {
            get { return fourStar; }
            set { fourStar = value; }
        }
        private int threeStar;
        public int ThreeStar
        {
            get { return threeStar; }
            set { threeStar = value; }
        }

        private int twoStar;
        public int TwoStar
        {
            get { return twoStar; }
            set { twoStar = value; }
        }
        private int oneStar;
        public int OneStar
        {
            get { return oneStar; }
            set { oneStar = value; }
        }

        private int averageStar;
        public int AverageStar
        {
            get { return averageStar; }
            set { averageStar = value; }
        }
        private int totalStar;
        public int TotalStar
        {
            get { return totalStar; }
            set { totalStar = value; }
        }

        private int idSequence;
        public int IdSequence
        {
            get { return idSequence; }
            set { idSequence = value; }
        }

        private int publishedYear;
        public int PublishedYear
        {
            get { return publishedYear; }
            set { publishedYear = value; }
        }
        private string artist;
        public string Artist
        {
            get { return artist; }
            set { artist = value; }
        }

        private string album;
        public string Album
        {
            get { return album ; }
            set { album = value; }
        }
       public BannerObject() { }
        public BannerObject(string information,string album, string artist,int publishedYear,string facebookLink, string tweetLink, string youtubeLink,string youtubeChannel, string imageLink, int five,int four,int three, int two, int one, int total, int average, int id)
        {
            Information = information;
            Album = album;
            Artist = artist;
            PublishedYear = publishedYear;
            FacebookLink = facebookLink;
            TweetLink = tweetLink;
            YoutubeLink = youtubeLink;
            YoutubeChannel = youtubeChannel;
            ImageLink = imageLink;
            FiveStar = five;
            FourStar = four;
            ThreeStar = three;
            TwoStar = two;
            OneStar = one;
            AverageStar = average;
            TotalStar = total;
            IdSequence = id;
        }

    }*/
}